<template>
  <div>
    <slot> <h2>标题</h2></slot>
    <slot name="main" :list="list" />
    <slot name="bottom" />
  </div>
</template>
<script>
export default {
  data() {
    return {
      list: ['张三', '李四']
    }
  }
}
</script>
<style>
</style>
